package com.example.HelloSpace.network;

import com.example.HelloSpace.models.ContentModel;
import com.example.HelloSpace.models.MissionInfoModel;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface WebApiService {
    @GET("/api/mission_info_list")
    Call<List<MissionInfoModel>> getMissionInfoList();

    @GET("/api/mission_info")
    Call<MissionInfoModel> getMissionInfo(@Query("id") int missionId);

    @GET("/api/mission_details")
    Call<ContentModel> getMissionDetails(@Query("id") int missionId);

}
